﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YouWei.Winform.Model
{
    public class JsdamaModel
    {

        public JsdamaModel()
        {
            softwareId = 14824;
            softwareSecret = "J1GECasULrHyPTiWQX4G4WOBbIJu3ciNTB5Ykrw6";
            username = "cwtx_kfz";
            password = "Banmachewu2108";
            captchaType = 1001;
        }

        /// <summary>
        /// 软件ID，⽤于标识软件的身份，软件作者登录联众识别平台后显示
        /// </summary>
        public int softwareId { set;get;}

        /// <summary>
        /// 接⼊联众识别的软件密钥，应当由软件开发者写⼊到软件内部，不允许普通⽤户修改。
        /// </summary>
        public string softwareSecret { set; get; }

        /// <summary>
        /// 联众⽤户名
        /// </summary>
        public string username { set; get; }

        /// <summary>
        /// 根据⽤户在联众⽤户中⼼的设置，将联众⽤户的 密码 或 识别独⽴密码 传输给服务
        /// </summary>
        public string password { set; get; }

        /// <summary>
        /// 图⽚⽂件内容，base64后的数据
        /// </summary>
        public string captchaData { set; get; }

        /// <summary>
        /// 识别类型(整形)
        /// </summary>
        public int captchaType { set; get; }
        public int captchaMinLength { set; get; }
        public int captchaMaxLength { set; get; }
    }
}
